package com.pet.pet04item.service;

import com.pet.mapper.ItemDescMapper;
import com.pet.mapper.ItemMapper;
import com.pet.pojo.Item;
import com.pet.service.ItemDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ItemDescServiceImpl implements ItemDescService {
    @Autowired
    private ItemMapper itemMapper;
    @Autowired
    private ItemDescMapper itemDescMapper;
    @Override
    public Item getItemDescById(Integer id) {
        Item item = itemMapper.selectById(id);
        return item;
    }
}
